﻿using System;

using Moe.ECamel.Common.Contracts;
using Moe.ECamel.Common.Entities;

namespace Moe.ECamel.Client.ServiceProxies
{
	public class InventoryServiceProxy : ECamelServiceProxy<IInventoryService>, IInventoryService
	{
		public void AddCopy(int itemId, int libraryId)
		{
			ServiceProxy.AddCopy(itemId, libraryId);
		}

		public ECamelError DeleteCopy(int itemId, int libraryId)
		{
			return ServiceProxy.DeleteCopy(itemId, libraryId);
		}

		public TransferCopyResponse TransferCopy(int itemId, int libraryId)
		{
			return ServiceProxy.TransferCopy(itemId, libraryId);
		}

		public ECamelError RequestNewCopy(int itemId, int libraryId, DateTime requestDate)
		{
			return ServiceProxy.RequestNewCopy(itemId, libraryId, requestDate);
		}
	}
}